<template>
	<view style="position: relative;">
		<view class="item" v-for="item in 4">
			<view class="top">
				<view class="row-between-center">
					<view class="row">
						<image src="/static/images/person.png" class="avater"></image>
						<view class="col"  style="margin-left: 20rpx;">
							<view class="name">张三</view>
							<view class="mobile">13008329321  |  2023-06-12添加</view>
						</view>
					</view>
					<view class="status">正常</view>
				</view>
				<view class="mobile" style="margin-left: 100rpx;">名下 <span class="blue">9</span> 个商家</view>
			</view>
			<view class="row-end" style="margin-top: 20rpx;">
				<view class="btn row-center">离职集成</view>
				<view class="btn row-center">禁用</view>
				<view class="btn row-center">修改</view>
			</view>
			<view style="height: 20rpx;"></view>
		</view>
		
		<view class="add row-center" @click.stop="goAdd">
			<image src="/static/images/add_person.png" class="add-img"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goAdd(){
				uni.navigateTo({
					url:'/src/pages/merchant_person/add'
				})
			}
		}
	}
</script>
<style>
	page{
		background-color: #F2F3F8;
	}
</style>
<style lang="scss" scoped>
	.add{
		
		z-index: 99;
		right: 20rpx;
		bottom: 220rpx;
		position: fixed;
		width: 88rpx;
		height: 88rpx;
		border-radius: 50%;
		background-color: #FFF;
		filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.08));
	}
	.add-img{
		width: 32rpx;
		height: 32rpx;
	}
	.status{
		color:  #3B60D3;
		font-size: 32rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 48rpx; /* 150% */
	}
	.btn{
		padding: 12rpx 36rpx;
		margin-right: 20rpx;
		color: #676C7F;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx; 
		border-radius: 32rpx;
		background: #FFF;
	}
	.item{
		margin: 20rpx;
		border-radius: 12rpx;
		background-color: #F7F8FC;
		
	}
	.top{
		padding: 30rpx 20rpx;
		background-color: white;
		border-radius: 12rpx 0;
	}
	.avater{
		width: 80rpx;
		height: 80rpx;
	}
	.name{
		color:  #20252B;
		font-size: 32rpx;
		font-style: normal;
		font-weight: 500;
		line-height: 48rpx; 
	}
	.mobile{
		color:  #6A6876;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx; /* 166.667% */
	}
	.blue{
		color:  #3B60D3;
		font-size: 24rpx;
		font-style: normal;
		font-weight: 400;
		line-height: 40rpx;
	}
	.check{
		width: 36rpx;
		height: 36rpx;
	}
</style>
